#if !CSCORE
#define CSCORE 1
#define COMBO_DELAY_TIME	4000
#define COMBO_MAX			99
#define SCORE_EFEECT_ADD	9
#define SCORE_RENDER_X		(k_SCREEN_WIDTH - 20)		
#define SCORE_RENDER_Y		(20)
class CScore{
public:
	CScore(){};

	float _baseX;
	float _baseY;
	int _saved_sheep;
	int _gold;
	int _silver_coin_num;
	int _gold_coin_num;
	INT32 _score;

	void Init(float baseX, float baseY)
	{
		_saved_sheep = 0;
		_score=0;
		_gold = 0;
		_baseX = baseX;
		_baseY = baseY;
		_silver_coin_num = 0;
		_gold_coin_num = 0;
	};
	void Render();
	void Update();
	void SaveSheep(int num);
	void AddScore(int score);
	void AddGold(int gold);
};
#endif